﻿using JNPF.Common.Models;

namespace JNPF.Website.Entitys.Dto.WebsiteNews;

/// <summary>
/// 新闻管理修改输入参数.
/// </summary>
public class WebsiteNewsCrInput
{
    /// <summary>
    /// 名称.
    /// </summary>
    public string name { get; set; }

    /// <summary>
    /// 图片.
    /// </summary>
    public List<FileControlsModel> image { get; set; }

    /// <summary>
    /// 排序码.
    /// </summary>
    public long sortCode { get; set; }

    /// <summary>
    /// 富文本.
    /// </summary>
    public string richText { get; set; }

    /// <summary>
    /// 发布时间.
    /// </summary>
    public DateTime? publishTime { get; set; }

    /// <summary>
    /// 是否放在首页 0否 1是.
    /// </summary>
    public string isOnHome { get; set; }

    /// <summary>
    /// 分类id.
    /// </summary>
    public string categoryId { get; set; }

}